package com.cqjtu.store.swiper.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
* 
* @TableName swiper
*/
@Data
public class SwiperDTO implements Serializable {
    private Integer id;

    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("图片地址")
    @Length(max= 255,message="编码长度不能超过255")
    private String img_file;

    @ApiModelProperty("优先级")
    private Integer priority;

}
